﻿using System.Collections.Generic;
using Hicap.AuthorizationServer.CommonDto.BaseEntityDto;
using Hicap.AuthorizationServer.Sys.DTO.AuthObjects;

namespace Hicap.AuthorizationServer.Sys.DTO.Roles
{
    public class RoleListDto : EntityBaseListDto
    {
        ////BCC/ BEGIN CUSTOM CODE SECTION
        ////ECC/ END CUSTOM CODE SECTION
        public string RoleCode { get; set; }

        public string RoleName { get; set; }
        public string ParentRoleCode { get; set; }
        public string ParentRoleName { get; set; }

        public int? UserRoleReleateId { get; set; }

        public List<AuthObjectListDto> AuthObject { get; set; }

        public RoleListDto()
        {
            AuthObject = new List<AuthObjectListDto>();
        }
    }
}